package com.example.giftmanger;

/*
todo:一条动画的Message  主要功能是一个礼物的动画展示
 */
public class AnimMessage {
    private String username;//发送礼物的用户
    private int giftNum;//礼物的数量
    private boolean isComboAnimationOver;//判断当前礼物连击动画是否完成
    private long updateTime;//当前礼物的展示时间 用来对比是否是三秒消失
    private String giftName;//礼物的名字

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getGiftNum() {
        return giftNum;
    }

    public void setGiftNum(int giftNum) {
        this.giftNum = giftNum;
    }

    public boolean isComboAnimationOver() {
        return isComboAnimationOver;
    }

    public void setComboAnimationOver(boolean comboAnimationOver) {
        isComboAnimationOver = comboAnimationOver;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }

    public AnimMessage(String username, int giftNum, String giftName) {
        this.username = username;
        this.giftNum = giftNum;
        this.giftName = giftName;
    }
}
